﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Navigate.aspx.cs" Inherits="Microsoft.JCI.Portal.Navigate" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <script src="Content/jquery-1.3.2.js" type="text/javascript"></script>
    <link href="Content/Navigate/Navigate.css" rel="stylesheet" type="text/css" />  
    <script src="Content/Navigate/Navigate.js" type="text/javascript"></script>
    <script type="text/javascript">
        function NavFunc(Param) {
            parent.loc.document.all("spLocation").innerHTML = "<b></b> | " + "<a style='font-weight:bold;'  href='" + Param + "' target='stage'> </a>";

            // 刷新主内容区
            parent.stage.navigate(Param);
        }
    </script>
</head>
<body MS_POSITIONING="GridLayout" bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" onload=win_onload();>
    <form id="form1" runat="server">
    <table style="table-layout: fixed" cellspacing="0" cellpadding="0" width="100%" height="100%">
        <tbody>
            <tr height="24">
                <td style="background-image: url(Content/Navigate/nav_lable.gif); background-color: #b1afa4;
                    padding-left: 12px; background-repeat: no-repeat; background-position: left bottom;
                    color: black; font-size: 13px; font-weight: bold; padding-top: 6px" id="tdTitle"
                    valign="center" width="123" align="left">派单管理系统</td>
                <td style="border-bottom: #808080 1px solid; background-color: #b1afa4" id="tdNav"
                    align="middle">&#30;
                </td>
            </tr>
            <tr>
                <td class="leftBar" colspan="2">
                <div id="divSysNav">  
                 <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="background-color: #c9c7ba"class="leftBar">
        <tr height="15">
            <td>
            </td>
        </tr>
        <tr>
            <td align="center" valign="top">
                <div style="width: 100%; height: 100%; overflow: auto;">
                    <asp:DataList ID="listNavigate" runat="server" DataKeyField="FuncID" 
                        onitemdatabound="listNavigate_ItemDataBound">
                        <ItemTemplate>
                            <div style="margin-top: 5px; margin-left: 5px;">
                                <table width="148" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed;
                                    border: 1px solid #a4a493;">
                                    <tr height="23">
                                        <td style="background-image: url(/Content/Navigate/nav0_function_tab.gif); border-bottom: 1px solid #a4a493;">
                                            <table border="0" cellspacing="0" cellpadding="0" style="font-size: 9pt; padding-top: 3px;
                                                width: 100%" onclick="showNav(this)" id="tblNav0">
                                                <tr style="cursor: hand">
                                                    <td class="nav_title">
                                                        <%#Eval("FuncName") %>
                                                    </td>
                                                    <td width="20" align="10">
                                                     <img src="/Content/Navigate/nav_arrow_right.gif" id="img1" /> 
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr id="trBar" style="display: none">
                                        <td style="background-color: white">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-size: 9pt">
                                                <col width="30" align="right" />
                                                <col width="5" align="center" />
                                                <col />
                                                <tr height="4">
                                                    <td />
                                                    <td />
                                                    <td />
                                                </tr>
                                                <asp:Repeater ID="rptSubNavigate" runat="server">
                                                    <ItemTemplate>
                                                         <tr height="28">
                                                            <td>
                                                                <img src="/Content/Navigate/Img/<%# Eval("ImageUrl") %>"></img>
                                                            </td>
                                                            <td />
                                                            <td onclick="selFuncInNav(this)" style="cursor: hand" onmouseover="this.style.color=&quot;blue&quot;"
                                                                onmouseout="this.style.color=&quot;&quot;" url="<%# Eval("URL") %>" funccode="00000101">
                                                                <%# Eval("FuncName")%>
                                                            </td>
                                                        </tr>
                                                    </ItemTemplate>
                                                </asp:Repeater>                                               
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </ItemTemplate>
                    </asp:DataList>
                </div>
            </td>
        </tr>
    </table>
                    </div> 
                    </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>
